﻿using Abp.Application.Services;
using AVIS.OutBound.CarGroups.Dto;
using AVIS.OutBound.Orders.Dto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Http;

namespace AVIS.OutBound.CarGroups
{
    /// <summary>
    /// 车组的应用服务类
    /// </summary>
    public interface ICarGroupAppService : IApplicationService
    {
        /// <summary>
        /// 查询指定预订单ID的车组列表接口
        /// </summary>
        /// <param name="input">请求参数</param>
        /// <returns></returns>
        [HttpGet]
        CarGroupsListOutput ListByOrderId(OrderIdInput input);

        /// <summary>
        /// 查询指定预订单ID的车组增值服务接口
        /// </summary>
        /// <param name="input">请求参数</param>
        /// <returns></returns>
        [HttpGet]
        List<CarEquipmentItemDto> CarEquipmentsByOrderId(OrderIdInput input);
    }
}
